package com.umakr.ax.common.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.umakr.ax.core.base.BaseModel;

import java.util.Date;


/**
 * <p>
 * 微信公众帐号信息
 * </p>
 *
 * @author Wmdz
 * @since 2018-01-09
 */
@TableName("rd_wechat_account")
@SuppressWarnings("serial")
public class WechatAccount extends BaseModel {

    @TableField("create_time")
    private java.util.Date createTime;
    @TableField("update_time")
    private java.util.Date updateTime;
    @TableField("del_status")
    private Integer delStatus ;

	/**公众号名称*/
	@TableField("account_name")
	private String accountName;
	/**公众号头像*/
	@TableField("account_head_img")
	private String accountHeadImg;
	/**公众号TOKEN*/
	@TableField("account_token")
	private String accountToken;
	/**公众号微信号,授权方公众号所设置的微信号，可能为空*/
	@TableField("account_number")
	private String accountNumber;
	/**公众号原始ID*/
	@TableField("account_originalid")
	private String accountOriginalid;
	/**公众号类型*/
	@TableField("account_type")
	private String accountType;
	/**授权方公众号类型，0代表订阅号，1代表由历史老帐号升级后的订阅号，2代表服务号*/
	@TableField("account_service_type_info")
	private Integer accountServiceTypeInfo;
	/**授权方认证类型，-1代表未认证，0代表微信认证，1代表新浪微博认证，2代表腾讯微博认证，3代表已资质认证通过但还未通过名称认证，4代表已资质认证通过、还未通过名称认证，但通过了新浪微博认证，5代表已资质认证通过、还未通过名称认证，但通过了腾讯微博认证*/
	@TableField("account_verify_type_info")
	private Integer accountVerifyTypeInfo;
	/**公众号的主体名称*/
	@TableField("account_principal_name")
	private String accountPrincipalName;
	/**二维码图片的URL*/
	@TableField("account_qrcode_url")
	private String accountQrcodeUrl;
	/**公众号邮箱*/
	@TableField("account_email")
	private String accountEmail;
	/**公众号描述*/
	@TableField("account_desc")
	private String accountDesc;
	/**公众号APPID*/
	@TableField("account_appid")
	private String accountAppid;
	/**公众号APPSECRET*/
	@TableField("account_appsecret")
	private String accountAppsecret;
	/**ACCESS_TOKEN*/
	@TableField("account_accesstoken")
	private String accountAccesstoken;
	/**REFRESH_TOKEN*/
	@TableField("account_refreshtoken")
	private String accountRefreshtoken;
	/**ACCESS_TOKEN获取时间*/
	@TableField("add_accesstoken_time")
	private java.util.Date addAccesstokenTime;
	/**ACCESS_TOKEN过期时长*/
	@TableField("accesstoken_expires_in")
	private Integer accesstokenExpiresIn;

	/**微信卡券JS API的临时票据*/
	@TableField("api_ticket")
	private String apiTicket;
	/**微信卡券JS API的临时票据的获取时间*/
	@TableField("api_ticket_time")
	private java.util.Date apiTicketTime;
	/**jsapi调用接口临时凭证*/
	@TableField("jsapi_ticket")
	private String jsapiTicket;
	/**jsapi调用接口临时凭证的获取时间*/
	@TableField("jsapi_ticket_time")
	private java.util.Date jsapiTicketTime;

	/**
	 * 电台id
	 */
	@TableField("rs_id")
	private Long rsId;



	public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

	public String getAccountToken() {
		return accountToken;
	}

	public void setAccountToken(String accountToken) {
		this.accountToken = accountToken;
	}

	public String getAccountNumber() {
		return accountNumber;
	}

	public void setAccountNumber(String accountNumber) {
		this.accountNumber = accountNumber;
	}

	public String getAccountOriginalid() {
		return accountOriginalid;
	}

	public void setAccountOriginalid(String accountOriginalid) {
		this.accountOriginalid = accountOriginalid;
	}

	public String getAccountType() {
		return accountType;
	}

	public void setAccountType(String accountType) {
		this.accountType = accountType;
	}

	public String getAccountEmail() {
		return accountEmail;
	}

	public void setAccountEmail(String accountEmail) {
		this.accountEmail = accountEmail;
	}

	public String getAccountDesc() {
		return accountDesc;
	}

	public void setAccountDesc(String accountDesc) {
		this.accountDesc = accountDesc;
	}

	public String getAccountAppid() {
		return accountAppid;
	}

	public void setAccountAppid(String accountAppid) {
		this.accountAppid = accountAppid;
	}

	public String getAccountAppsecret() {
		return accountAppsecret;
	}

	public void setAccountAppsecret(String accountAppsecret) {
		this.accountAppsecret = accountAppsecret;
	}

	public String getAccountAccesstoken() {
		return accountAccesstoken;
	}

	public void setAccountAccesstoken(String accountAccesstoken) {
		this.accountAccesstoken = accountAccesstoken;
	}

	public Date getAddAccesstokenTime() {
		return addAccesstokenTime;
	}

	public void setAddAccesstokenTime(Date addAccesstokenTime) {
		this.addAccesstokenTime = addAccesstokenTime;
	}

	public String getApiTicket() {
		return apiTicket;
	}

	public void setApiTicket(String apiTicket) {
		this.apiTicket = apiTicket;
	}

	public Date getApiTicketTime() {
		return apiTicketTime;
	}

	public void setApiTicketTime(Date apiTicketTime) {
		this.apiTicketTime = apiTicketTime;
	}

	public String getJsapiTicket() {
		return jsapiTicket;
	}

	public void setJsapiTicket(String jsapiTicket) {
		this.jsapiTicket = jsapiTicket;
	}

	public Date getJsapiTicketTime() {
		return jsapiTicketTime;
	}

	public void setJsapiTicketTime(Date jsapiTicketTime) {
		this.jsapiTicketTime = jsapiTicketTime;
	}

	public Long getRsId() {
		return rsId;
	}

	public void setRsId(Long rsId) {
		this.rsId = rsId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getDelStatus() {
		return delStatus;
	}

	public void setDelStatus(Integer delStatus) {
		this.delStatus = delStatus;
	}

	public String getAccountRefreshtoken() {
		return accountRefreshtoken;
	}

	public void setAccountRefreshtoken(String accountRefreshtoken) {
		this.accountRefreshtoken = accountRefreshtoken;
	}

	public Integer getAccesstokenExpiresIn() {
		return accesstokenExpiresIn;
	}

	public void setAccesstokenExpiresIn(Integer accesstokenExpiresIn) {
		this.accesstokenExpiresIn = accesstokenExpiresIn;
	}

	public String getAccountHeadImg() {
		return accountHeadImg;
	}

	public void setAccountHeadImg(String accountHeadImg) {
		this.accountHeadImg = accountHeadImg;
	}

	public Integer getAccountServiceTypeInfo() {
		return accountServiceTypeInfo;
	}

	public void setAccountServiceTypeInfo(Integer accountServiceTypeInfo) {
		this.accountServiceTypeInfo = accountServiceTypeInfo;
	}

	public Integer getAccountVerifyTypeInfo() {
		return accountVerifyTypeInfo;
	}

	public void setAccountVerifyTypeInfo(Integer accountVerifyTypeInfo) {
		this.accountVerifyTypeInfo = accountVerifyTypeInfo;
	}

	public String getAccountPrincipalName() {
		return accountPrincipalName;
	}

	public void setAccountPrincipalName(String accountPrincipalName) {
		this.accountPrincipalName = accountPrincipalName;
	}

	public String getAccountQrcodeUrl() {
		return accountQrcodeUrl;
	}

	public void setAccountQrcodeUrl(String accountQrcodeUrl) {
		this.accountQrcodeUrl = accountQrcodeUrl;
	}
}
